package com.zxt.content.copywriting.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zxt.content.copywriting.req.PrivateCopywritingDTO;
import com.zxt.content.copywriting.req.PrivateCopywritingQueryDTO;
import com.zxt.content.copywriting.resp.PrivateCopywritingVO;

import java.util.List;

/**
 * 私有文案模块业务逻辑层
 */
public interface IPrivateCopywritingService {

    /**
     * 查询所有私有文案
     *
     * @return
     */
    List<PrivateCopywritingVO> queryList();


    Long saveOrEdit(PrivateCopywritingDTO dto);

    Page<PrivateCopywritingVO> pageList(PrivateCopywritingQueryDTO privateCopywritingDTO);

    void batchDelete(List<Long> ids);

    /**
     * 上传私有文案到公共文案
     *
     * @param ids 私有文案ids
     */
    void uploadCopywriting(List<Long> ids);
}
